package pers.bbw.crr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import pers.bbw.crr.dto.base.BaseSearchDto;

/**
 * 评论信息DTO 评论表
 *
 * @author bbw
 * @date 2024-12-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "评论信息DTO", description = "查询DTO")
public class CommentSearchDto extends BaseSearchDto {

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态（逻辑删除：true.未删除；false.已删除）")
    private Boolean state;

    /**
     * 评论人id
     */
    @ApiModelProperty(value = "评论人id")
    private Integer commentId;

    /**
     * 帖子id
     */
    @ApiModelProperty(value = "帖子id")
    private Integer postId;

    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String content;

}
